package ink.waita.blog.domain.global;

import lombok.Data;

/**
 * create by aries
 * 数据包装类
 * @param <T>
 */
@Data
public class ObjectDataResponse<T> {

    private int code;
    private T data;

    public ObjectDataResponse(T data) {
        this.code = 200;
        this.data = data;
    }
}
